<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* div p:nth-child(2){
            color: red;
            font-size:30px;
        } */
        div p:nth-of-type(2){
            color: red;
            font-size:30px;
        }
    </style>
</head>
<body>
   <div class="left">
       <h2>这是标题</h2>
       <p>这个是熊大小动物</p>
       <span>这是勇士</span>
       <p>这是汉子</p>
       <span>这是小女子</span>
       <p>这是人类</p>
   </div> 
</body>
</html>